/*
 * @Description: 
 * @Author: Aroma
 * @Date: 2024-09-13 09:18:24
 * @LastEditors: Aroma
 * @LastEditTime: 2024-09-13 09:18:24
 * @别瞎看: 你个无脑牛马
 */
//定义父类
public class Person{
    //成员属性 name
    private String name;
    //set
    public void setName(String name){
        this.name=name;
    }
    //sayHello
    public void sayHello(){
        System.out.println("Hello,My name is "+name);
    }
}